package com.zlp.mybatis.mapper;

import com.zlp.mybatis.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author zhulaiping
 * @date 2021/6/23-13:26
 */
public interface UserMapper {

    User selectUserById(Integer id);

    boolean deleteById(Integer id);

    boolean updateById(User user);

    boolean addUser(User user);

    List<User> selectByIds(@Param("ids") List<Integer> ids);
}
